﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DataBaseManagement
{
    public partial class RelatorioUsuarioParaProvaForm : Form
    {
        public RelatorioUsuarioParaProvaForm()
        {
            InitializeComponent();
        }

        private void RelatorioUsuarioParaProvaForm_Load(object sender, EventArgs e)
        {

            this.rptDados.RefreshReport();            
            rptDados_ReportRefresh(sender, null);
        }

        private void rptDados_ReportRefresh(object sender, CancelEventArgs e)
        {
            AlunosBindingSource.DataSource = UsuariosNG.ObterAlunos();
        }

        private void rvrNotas_ReportRefresh(object sender, CancelEventArgs e)
        {
            AlunosBindingSource.DataSource = UsuariosNG.ObterAlunos();
        }

    }
}
